/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author Fam. Tapia
 */
public class ProviderProductBean {

    public ProviderProductBean(){
    }
    
    public ProviderProductBean(int idProduct, int idProvider){
        this.productId= idProduct;
        this.providerId = idProvider;
    }

    int providerId;

    public void setProviderId(int providerId) {
        this.providerId = providerId;
    }

    public int getProviderId() {
        return providerId;
    }

    int productId;

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getProductId() {
        return productId;
    }

    @Override
    public String toString(){
        String space="  ";
        String provider= this.getProviderId()+space;
        String product= this.getProductId()+space;
        String provideProduct=provider+product;
        return provideProduct;
    }
}
